package com.tanhua.server;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;

//启动类
@SpringBootApplication(scanBasePackages = {"com.tanhua.autoconfig","com.tanhua.server"},
        exclude = { MongoAutoConfiguration.class,
                MongoDataAutoConfiguration.class})
@EnableCaching
public class AppServerApplication {
    public static void main(String[] args) {

        org.springframework.boot.SpringApplication.run(AppServerApplication.class, args);

    }
}
